package base.thread.produce_consumer;

public class ProductAndConsumer {
	public static void main(String[] args) {
		Shop shop = new Shop();// 商店
		Producer pro = new Producer(shop);
		Cousumer cou = new Cousumer(shop);
		new Thread(pro, "pro").start();
		new Thread(cou, "cou").start();
	}
}
